﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LetLord.ViewModels
{
    public class QuickPropertySearchViewModel 
    {
        public static string[] Counties
        {
            get
            {
                return new string[] { "Anywhere in Ireland", "Carlow", "Cavan", "Clare", "Cork", "Donegal", "Dublin", "--Dublin 1", "--Dublin 2", "--Dublin 3",
                    "--Dublin 4", "--Dublin 5", "--Dublin 6", "--Dublin 6W", "--Dublin 7", "--Dublin 8", "--Dublin 9", "--Dublin 10", "--Dublin 11", "--Dublin 12", 
                    "--Dublin 13", "--Dublin 14", "--Dublin 15", "--Dublin 16", "--Dublin 17 ", "--Dublin 18", "--Dublin 20", "--Dublin 22", "--Dublin 24",
                    "--Dublin County ", "--Dublin North", "--Dublin South ", "Galway", "Kerry", "Kildare", "Kilkenny", "Laois", "Leitrim",
                    "Limerick", "Longforf", "Louth", "Mayo", "Meath", "Monaghan", "Offaly", "Roscommon", "Sligo", "Tipperary",
                    "Waterford", "Westmeath", "Wexford", "Wicklow" };
            }
        }

        public static decimal[] Prices
        {
            get
            {
                return new decimal[] { 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700,
                    1800, 1900, 2000, 2100, 2200, 2300, 2400, 2500, 2600, 2700, 2800, 2900, 3000, 3100, 3200, 3300, 3400,
                    3500, 3600, 3700, 3800, 3900, 4000, 4100, 4200, 4300, 4400, 4500, 4600, 4700, 4800, 4900, 5000 };
            }
        }

        public static string[] NumBeds
        {
            get
            {
                return new string[] { "1+", "2+", "3+", "4+", "5+" };
            }
        }

        public string County { get; set; }
        public decimal MinPrice { get; set; }
        public decimal MaxPrice { get; set; }
        [Display(Name="Beds")]
        public string DesiredNumBeds { get; set; }
    }
}